<template>
  <div class="login-container">
    <van-icon class="login-off" name="cross" @click="close" />
    <div class="loginMc">
      <van-icon class="loginMu" name="music" color="#fff" size="100px" />
    </div>
    <van-button class="login-btn" size="large" type="login" round to="/register"
      >登录</van-button
    >
  </div>
</template>

<script>
export default {
  name: 'LoginIndex',
  data () {
    return {}
  },
  created () {},
  mounted () {},
  methods: {
    close () {
      this.$router.go(-1)
    }
  }
}
</script>

<style scoped lang="less">
.login-container {
  width: 100vw;
  height: 100vh;
  background-color: red;
  .login-off {
    padding: 40px;
  }
  .loginMc {
    position: fixed;
    width: 400px;
    height: 500px;
    top: 40%;
    left: 50%;
    .loginMu {
      transform: translate(-50%, -40%);
    }
  }
  .login-btn {
    background-color: #fff;
    color: red;
    border: #fff;
    width: 80%;
    position: fixed;
    bottom: 10%;
    left: 10%;
  }
}
</style>
